package io.lvdaxian.mybatis19.scripting.xmltags;

/**
 * 静态文本 sql 处理
 *
 * @author lihh
 */
public class StaticTextSqlNode implements SqlNode {
  
  private final String text;
  
  public StaticTextSqlNode(String text) {
    this.text = text;
  }
  
  @Override
  public boolean apply(DynamicContext context) {
    context.appendSql(text);
    return false;
  }
}
